
#ifndef COIN_H
#define COIN_H


#include<QPushButton>
#include<QTimer>


class coin : public QPushButton
{
    Q_OBJECT
public:
    //explicit coin(QWidget *parent = nullptr);
    coin(QString btnimg);
    int posx;
    int posy;
    bool flag;
    void changeflag();
    QTimer *timer1;
     QTimer *timer2;
    int max=8;
     int min=1;
    bool iswin;
signals:

};

#endif // COIN_H
